package com.hmall.feign.config;

import com.hmall.feign.interceptor.AddHeaderIntercepter;
import feign.RequestInterceptor;
import org.springframework.context.annotation.Bean;

public class FeignConfig {

    @Bean
    public RequestInterceptor addHeaderInterceptor(){
        return new AddHeaderIntercepter();
    }
}